package com.tyqx.hashchainbackend.service;

import com.tyqx.hashchainbean.module.Authorize;
import com.tyqx.hashchainbean.module.Users;
import org.hyperledger.fabric.sdk.User;

import java.util.List;

public interface UsersService {

    public Integer saveUserInfo(Users users,String sessionKey, String skey) throws Exception;

    public List<String> getUidBySkey(String skey);

    public List<String> getIdByCompName(String compName);

    public List<String> getCompNameById(String uid);

    public Integer updateCompName(String uid,String name,String phone,String businessScope);
}
